.item {
  transition: 0.2s ease-in-out;
  transition-property: background;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 10px 15px 10px 10px;
  border-bottom: 1px solid var(--background-light-highlight);
  overflow-x: hidden;

  &.invited {
    .user {
      opacity: 0.6;
      color: var(--color-black);
    }
  }

  &.withPicture {
    .invite {
      margin-left: 21px;
    }
  }

  &.editing,
  &:focus,
  &:hover {
    background: var(--background-light);

    .button {
      opacity: 1;
    }
  }

  .button {
    flex: 0 0 auto;
    transition: 0.2s ease-in-out;
    transition-property: opacity;
    opacity: 0;
    padding: 6px 7px;
    margin-left: 10px;
    font-size: 11px;

    :global(.button-icon) {
      flex-shrink: 0;
      width: 12px;
      height: 12px;
    }
  }

  :global(.ember-power-select-trigger) {
    min-width: 150px;
    padding: 5px 7px 4px;
    margin-bottom: 10px;
    border: 1px solid var(--content-background-border);
    border-radius: var(--border-radius);
    background: var(--content-background);
    font-size: 12px;
    box-shadow: 0 1px 5px var(--shadow-color);
  }
}

.role {
  display: block;
  margin-bottom: 4px;
  color: var(--color-green);
  color: var(--color-primary);
  font-size: 12px;
}

.user {
  display: flex;
  color: var(--color-black);
  font-size: 15px;
}

.user-email {
  display: block;
  font-size: 12px;
}

.user-picture {
  width: 17px;
  height: 17px;
  margin-right: 6px;
  margin-top: 3px;
  border-radius: var(--border-radius);
}

.invite {
  opacity: 0.4;
  color: var(--color-black);
  font-size: 13px;
  font-style: italic;
}

.actions {
  display: flex;
}
